package com.hl.shifangzhiyu.service.Impl;

import com.hl.shifangzhiyu.mapper.OnlineClassMapper;
import com.hl.shifangzhiyu.pojo.OnlineClass;
import com.hl.shifangzhiyu.service.OnlineClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class OnlineClassServiceImpl implements OnlineClassService {

    @Autowired
    private OnlineClassMapper onlineClassMapper;
    @Override
    public List<OnlineClass> selectClass() {
        return onlineClassMapper.selectClass();
    }

    @Override
    public List<OnlineClass> selectSortBySmall() {
        return onlineClassMapper.selectSortBySmall();
    }

    @Override
    public List<OnlineClass> selectSortByBig() {
        return onlineClassMapper.selectSortByBig();
    }

    @Override
    public List<OnlineClass> selectByprice01() {
        return onlineClassMapper.selectByprice01();
    }

    @Override
    public List<OnlineClass> selectByprice02() {
        return onlineClassMapper.selectByprice02();
    }

    @Override
    public List<OnlineClass> selectByprice03() {
        return onlineClassMapper.selectByprice03();
    }

    @Override
    public List<OnlineClass> selectByprice04() {
        return onlineClassMapper.selectByprice04();
    }

    @Override
    public List<OnlineClass> selectByprice05() {
        return onlineClassMapper.selectByprice05();
    }

    @Override
    public List<OnlineClass> selectByprice06() {
        return onlineClassMapper.selectByprice06();
    }
}
